import request from '@/utils/request'
let baseUrl =
  process.env.NODE_ENV === 'production' ? 'api/core' : 'http://172.16.0.14:8020'
export const getDictionaryList = (type: string, data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/dictionary/' + type,
    method: 'post',
    data
  })
